import {
	createPinia
} from "pinia";
import piniaPluginPersist from "pinia-plugin-persist";

const store = createPinia();
// 挂载pinia
store.use(piniaPluginPersist);

// 导出pinia
export default store;